package com.lawyer.repository;


import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.lawyer.entity.LawyerMicroScoreInfo;


@RepositoryRestResource(exported = false)
public interface LawyerMicroScoreInfoRepository extends PagingAndSortingRepository<LawyerMicroScoreInfo, Long> , JpaSpecificationExecutor<LawyerMicroScoreInfo> {
	List<LawyerMicroScoreInfo> findTop4ByLawyerIdOrderByScoreDesc(String lawyerId);
}
